package com.wanmait.bootdemo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

//@Controller
@RestController//=@Contrller+@ResponseBody
public class HelloController {
    @RequestMapping("/hello")
    //@ResponseBody
    public String hello(String name)
    {
        return "hello ,hi,1111==="+name;
    }
}
